home *** CD-ROM | disk | FTP | other *** search
/ Aminet 23 / Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso / Aminet / disk / misc / PMV.lha / PMV.readme < prev   
Text File  |  1997-10-31  |  1KB  |  55 lines

  1. Short:    Pattern renaming for advanced usage
  2. Uploader: kenny@bgnett.no <Kenneth "Kenny" Nilsen>
  3. Author:   kenny@bgnett.no <Kenneth "Kenny" Nilsen>
  4. Type:     disk/misc 
  5. Requires: AmigaOS 2+
  6. Version:  1.0 
  7.  
  8.  
  9. mailto:kenny@bgnett.no
  10.  
  11. $VER: PatternMove 1.0 (31.10.97)
  12.  
  13. Copyright (C) 1997 by Digital Surface/Kenneth "Kenny" Nilsen.
  14. All rights reserved.
  15.  
  16. This little program (dosscript) will allow you to do advanced renaming on
  17. files.
  18.  
  19. Installation -
  20.  
  21. - copy PMV to s:
  22. - protect s:pmv +s
  23.  
  24. USAGE -
  25.  
  26. Template: PMV PATTERN/A,TOFORMAT/A
  27.  
  28. Pattern  - the file(s) you want to rename
  29. ToFormat - how to format the new filename(s).
  30.  
  31. List of usefull format args (see complete list under LFORMAT for the LIST
  32. command in the DOS manual):
  33.  
  34.  %E - Uses just the file extension
  35.  %M - Uses the filename only, omitting any extension
  36.  %N - Uses the whole filename
  37.  %P - Uses the file parent path (includes a ":" or "/")
  38.  
  39. Examples:
  40. ---------
  41.  
  42. Rename all mod.<files> to <files>.mod
  43.  
  44. 1> pmv mod.#? %E.mod
  45.  
  46. Rename all <files>.txt to just <files>
  47.  
  48. 1> pmv *.txt %M
  49.  
  50. -- If you have set current dir (CD) to another dir then where the files are:
  51.  
  52. Rename mod.<files>.pp to mod.<files>
  53.  
  54. 1> pmv ram:mod.#?.pp %P%M
  55.